package com.zjh.mailbox.server;

import com.jfinal.config.Routes;
import com.zjh.mailbox.contorller.HandleController;
import com.zjh.mailbox.contorller.MailboxController;
import com.zjh.mailbox.model.Handle;
import com.zjh.mailbox.model.Mailbox;

/**
 * Created by zZz on 2017/5/16 0016.
 */
public class MailboxRoutes extends Routes {

    @Override
    public void config() {
        add("/api/mailbox", MailboxController.class);
        add("/api/mailbox/handle", HandleController.class);
    }
}
